/*
 * FaceCat图形通讯框架
 * 著作权编号:2015SR229355+2020SR0266727
 * 上海卷卷猫信息技术有限公司
 */

using System;
using System.Collections.Generic;

namespace FaceCat {
    /// <summary>
    /// 属性接口
    /// </summary>
    public interface FCAttribute {
        /// <summary>
        /// 调用方法
        /// </summary>
        /// <param name="funcName">方法名称</param>
        /// <param name="parameters">参数</param>
        /// <returns>返回值</returns>
        String callFunction(String funcName, String parameters);

        /// <summary>
        /// 根据属性名称获取属性值
        /// </summary>
        /// <param name="name">属性名称</param>
        /// <param name="value">属性值</param>
        /// <param name="type">属性类型</param>
        void getAttribute(String name, ref String value, ref String type);

        /// <summary>
        /// 获取属性名称列表
        /// </summary>
        /// <returns></returns>
        ArrayList<String> getAttributeNames();

        /// <summary>
        /// 设置属性值
        /// </summary>
        /// <param name="name">属性名称</param>
        /// <param name="value">属性值</param>
        void setAttribute(String name, String value);
    }
}
